package com.ruoyi.web.controller.shopping.common;

public class BaseContext {
    private static  ThreadLocal<Integer> local = new ThreadLocal<>();

    public static void setId(Integer id){
        local.set(id);
    }

    public static Integer getId(){
        return local.get();
    }

}
